package jnpf.fico.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jnpf.base.ActionResult;
import jnpf.exception.WorkFlowException;
import jnpf.fico.entity.ZcglCwBillOperateEntity;

import java.util.List;
import java.util.Map;

public interface ZcglCwBillOperateService extends IService<ZcglCwBillOperateEntity> {

    ZcglCwBillOperateEntity getInfo(String id);

    void data(String id, String data)throws WorkFlowException;

    boolean uniqueAll(Map<String,Object> data,int num)throws WorkFlowException;

    void delete(String id);

    void create(ZcglCwBillOperateEntity entity, String status, String flowId, Map<String, List<String>> candidateList, Map<String, Object> data) throws WorkFlowException;

    void update(String id, ZcglCwBillOperateEntity entity, String status, String flowId, Map<String, List<String>> candidateList, Map<String, Object> data) throws WorkFlowException;

    ActionResult getOperateInfo(String id);
}
